package com.numbfish.ch_10.seven_blocking_queue.CopyOnWriteArrayList.src.test1 ;

public class ThreadA extends Thread {

	private MyServiceA service;

	public ThreadA(MyServiceA service) {
		super();
		this.service = service;
	}

	@Override
	public void run() {
		for (int i = 0; i < 100; i++) {
			service.list.add("anyString");
		}
	}
}